const newcomerRouter = {
  path: 'newcomer',
  name: 'Newcomer',
  hidden: true,
  meta: { title: '新人专区' },
  component: () => import('@/views/operate/index'),
  redirect: '/operation/newcomer/newcomer_goods',
  children: [
    {
      path: 'newcomer_goods',
      name: 'NewcomerGoods',
      meta: { title: '新人专区商品', noCache: true },
      component: () => import('@/views/operate/newcomer')
    },
    {
      path: 'add_goods',
      name: 'AddGoods',
      meta: { title: '新增商品', noCache: true },
      component: () => import('@/views/operate/newcomer/goods/add-goods')
    },
    {
      path: 'edit_goods',
      name: 'EditGoods',
      meta: { title: '编辑商品', noCache: true },
      component: () => import('@/views/operate/newcomer/goods/add-goods')
    }
  ]
}

export default newcomerRouter
